package net.cyue.web.easyquery.provider.db.mybatis;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

@Mapper
public interface MyBatisQueryMapper extends DynamicQueryMapper {
    @Select("${__dynamic_sql_for_query__}")
    List<Map<String, Object>> dynamicQuery(Map<String, Object> params);
    @Update("${__dynamic_sql_for_update__}")
    int dynamicUpdate(Map<String, Object> params);
}
